package com.woniuxy.service;

import com.woniuxy.entity.Product;
import com.woniuxy.entity.utils.ResponseEntity;

/**
 * @Author: 吴秋达
 * @Description: TODO
 * @DateTime: 2022年12月5日 18:53:35
 * @Component: 成都蜗牛学苑
 **/
public interface ProductService {
    public Product addOne(Product product);

    ResponseEntity findOneById(Integer pid);

    ResponseEntity update(Product product);

    ResponseEntity findAllByNameOrPrice(String name, double minPrice, double maxPrice);
}
